Fix build failure due to missing unistd.h
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 30 Aug 2005 13:16:05 +0000 (13:16 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 30 Aug 2005 13:16:05 +0000 (13:16 +0000)
Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
tools/libxc/xc_core.c
tools/libxc/xc_linux_build.c
tools/libxc/xc_vmx_build.c
tools/libxc/xg_private.c

index 9b67ad536eea101d975a4d9e80b34cfc217cc89b..1bf034a27a1ae13266e7c5a5c9d8b32fb8b00e58 100644 (file)
@@ -2,6 +2,7 @@
 #define ELFSIZE 32
 #include "xc_elf.h"
 #include <stdlib.h>
+#include <unistd.h>
 #include <zlib.h>
 
 /* number of pages to write at a time */
index 2a2162237419d9892797e701d0d55a0cbe5bde66..9e74d6398d64f44260b2d089e91f300a891cf0ae 100644 (file)
@@ -17,6 +17,7 @@
 #include "xc_elf.h"
 #include "xc_aout9.h"
 #include <stdlib.h>
+#include <unistd.h>
 #include <zlib.h>
 
 #if defined(__i386__)
index 4a0101e7a2c46867975db781dd48f10c23c6de61..db2b2297683ab82971d1b0f048183b99fb47b94e 100644 (file)
@@ -7,6 +7,7 @@
 #define ELFSIZE 32
 #include "xc_elf.h"
 #include <stdlib.h>
+#include <unistd.h>
 #include <zlib.h>
 #include <xen/io/ioreq.h>
 #include "linux_boot_params.h"
index a5b81fdd35a717aaf6390f8769e6629e1dfae2ed..9b04ad8f6a09eb866a52f93bc093b7d58b20f65a 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <stdlib.h>
+#include <unistd.h>
 #include <zlib.h>
 
 #include "xg_private.h"